package ru.gerunn.test.jndi;

import java.util.Hashtable;

import javax.naming.Context;
import javax.naming.NamingException;
import javax.naming.spi.InitialContextFactory;

@SuppressWarnings("rawtypes")
public class MyContextFactory implements InitialContextFactory {

	public Context getInitialContext(Hashtable environment) throws NamingException {
		return new MyContext();
	}

}